<include file="Public/header" />

</head>
<body>
<input type = 'hidden' name='msg' id='msg' value="{$data['msg']}" />
<input type = 'hidden' name='url' id='url' value="{$data['url']}" />
</body>
<include file="Public/footer"/>
<script>
var msg = $("#msg").val();
var url = $("#url").val();
if(msg != ''){
	layer.open({
		content: msg,
		btn: ['确定'],
		yes: function(index) {
				location.href=url;
		}
	});
	$('.layui-m-anim-scale').addClass("searchAera");
	$('.layui-m-layerbtn').addClass("searchTop");
	$('.layui-m-layercont').addClass("searchConfirm");
	$('.layui-m-layerbtn span[no]').addClass("searchCancel");
	$('.layui-m-layerbtn span[yes]').addClass("ok");

}
</script>